package com.woniuxy.car.commodity.service.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Title: CommodityClassDto
 * @ProjectName: car-life2
 * @Description: TODO
 * @Author: xiong
 * @Date: 2022/3/3 12:03
 */
@Data
@ApiModel("商品类别Dto")
public class CommodityClassDto {

    @ApiModelProperty("主键id，分类")
    private Integer id;

    @ApiModelProperty("类名/品牌名")
    private String name;

    @ApiModelProperty("父类(上一层类)的id，fid为0即一级类")
    private Integer fid;

    @ApiModelProperty("商品参数模板")
    private List<Object> commodityParamTemplate;

    @ApiModelProperty("商品规格模板")
    private List<String> commodityFormatTemplate;

    @ApiModelProperty("商品类别图片")
    private String pic;
}
